home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
printer
/
jcosub26.zip
/
LOADSCRI.JSR
< prev
next >
Wrap
Text File
|
1994-01-03
|
424b
|
21 lines
/* JACOsub LOADSCRIPT command demonstration.
This command causes JACOsub load a script into its editor.
SAVESCRIPT returns RESULT=0 if successful, or RESULT=1 if a problem
occurred.
*/
if ~arg() then do ; say 'No file name.' ; exit 1 ; end
parse arg filename
options results
address 'JACOsub'
'LOADSCRIPT' filename
if result then
say 'script failed to load'
else
say 'script loaded successfully'
exit result